tests: Strengthen test tmpdir sanity check, be compat with ginsttest saving
authorColin Walters <walters@verbum.org>
Fri, 18 Mar 2016 12:43:53 +0000 (08:43 -0400)
committerColin Walters <walters@verbum.org>
Fri, 18 Mar 2016 12:45:25 +0000 (08:45 -0400)
commita02b425fc241556d6e4aed1ed69e00b77e3cc758
tree31df5ed71aaf9c5024af30a76fd22c9603decbf2
parent8057254b0b582f226718558222b1e9e6efe14ad1
tests: Strengthen test tmpdir sanity check, be compat with ginsttest saving

GNOME Continuous uses ginstest-runner --report-directory, which causes
the tests to save their tmpdirs persistently.  This also means the
result directories didn't match the `/(var/)?tmp` regexp, which broke
the ostree tests in GContinuous.

Fix this by simply asserting that the tmpdir either has `.tmpdir` or
nothing.
tests/libtest.sh